package org.site.eclipse;

public class EclipseClasspath
{
  protected static String nl;
  public static synchronized EclipseClasspath create(String lineSeparator)
  {
    nl = lineSeparator;
    EclipseClasspath result = new EclipseClasspath();
    nl = null;
    return result;
  }

  public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
  protected final String TEXT_1 = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<classpath>" + NL + "        <classpathentry kind=\"src\" path=\"src\"/>" + NL + "        <classpathentry kind=\"con\" path=\"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7\">" + NL + "                <attributes>" + NL + "                        <attribute name=\"owner.project.facets\" value=\"java\"/>" + NL + "                </attributes>" + NL + "        </classpathentry>" + NL + "        <classpathentry kind=\"con\" path=\"org.eclipse.jst.j2ee.internal.web.container\"/>" + NL + "        <classpathentry kind=\"con\" path=\"org.eclipse.jst.j2ee.internal.module.container\"/>" + NL + "        <classpathentry kind=\"output\" path=\"build/classes\"/>" + NL + "</classpath>";

  public String generate(Object argument)
  {
    final StringBuffer stringBuffer = new StringBuffer();
    stringBuffer.append(TEXT_1);
    return stringBuffer.toString();
  }
}
